package com.latvia.model;

public class Recipe {
	
	private int id;
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	private String name;
    private String description;
    private Integer experience;
    private Integer iconId;
    private Integer categoryId;
    private boolean isFavourite;
    private String imageURL;
    public String getImageURL() {
		return imageURL;
	}

	public void setImageURL(String imageURL) {
		this.imageURL = imageURL;
	}

	private int level; //3 - hard, 2 - medium, 1 - easy

    public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}
	
	public Recipe() {
		
	}

    public Recipe(String name, String description, 
    		Integer experience, Integer iconId,
    		Integer categoryId, boolean isFavourite,
    		int recipeLevel) {
        this.name = name;
        this.description = description;
        this.experience = experience;
        this.iconId = iconId;
        this.categoryId = categoryId;
        this.isFavourite = isFavourite;
        this.level = recipeLevel;
    }

    public boolean isFavourite() {
		return isFavourite;
	}

	public void setFavourite(boolean isFavourite) {
		this.isFavourite = isFavourite;
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getExperience() {
        return experience;
    }

    public void setExperience(Integer experience) {
        this.experience = experience;
    }

    public Integer getIconId() {
        return iconId;
    }

    public void setIconId(Integer iconId) {
        this.iconId = iconId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }
}
